package dao

import (
	"go-ocr/db/model"
)

// Imp 实现实例
var DataItemService DataItemInterface = &DataItemInfoInterfaceImp{}
var MeasureInfoService MeasureInfoInterface = &MeasureInfoInterfaceImp{}

type DataItemInterface interface {
	DataItem(dataItemNumber string) (model.DataItemInfo, error)
}

type MeasureInfoInterface interface {
	Insert(info *model.MeasureInfo) error
}

type DataItemInfoInterfaceImp struct{}
type MeasureInfoInterfaceImp struct{}
